package com.ow.dva.module.terminal.service.impl;

import com.ow.dva.config.annotation.DvaCache5M;
import com.ow.dva.module.base.entity.param.DvaPage;
import com.ow.dva.module.base.service.impl.DvaServiceImpl;
import com.ow.dva.module.terminal.entity.Termina;
import com.ow.dva.module.terminal.mapper.TerminaMapper;
import com.ow.dva.module.terminal.service.TerminaService;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * <p>
 * 终端机表 服务实现类
 * </p>
 *
 * @author JiangYanpeng
 * @since 2020-02-27
 * @version V1.0
 */
@Service
public class TerminaServiceImpl extends DvaServiceImpl<TerminaMapper, Termina> implements TerminaService {

    @DvaCache5M
    @Override
    public DvaPage<Termina> page(DvaPage<Termina> page, Map<String, Object> param) {

        return baseMapper.page(page,param);
    }

}
